//
//  TxLivePushView.h
//  cryptox
//
//  Created by FXY on 2022/6/26.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface TxLivePushView : UIView

/// 初始化
- (instancetype)initWithFrame:(CGRect)frame args:(NSDictionary *)args;

- (void)startLivePush:(NSDictionary *)dic;

- (void)stopLivePush;

- (void)onPause;

- (void)onResume;

- (void)onDestroy;

- (BOOL)isPushRecording;

- (void)turnOnFlashLight;

- (BOOL)isFlashLightOpen;

- (BOOL)isFontCamera;

- (void)switchCamera;

@end

NS_ASSUME_NONNULL_END
